<template>
  <div>
    <div class="left">
      <div class="heard">
        <div class="demo-type">
          <div class="img">
            <el-avatar :size="60" src="https://empty">
              <img
                src="https://cube.elemecdn.com/e/fd/0fc7d20532fdaf769a25683617711png.png"
              />
            </el-avatar>
          </div>
          <div>
            <!-- <span class="username">用户名</span> -->
          </div>
        </div>
      </div>
      <div>
        <el-tabs :tab-position="tabPosition" style="height: 200px">
          <el-tab-pane label="用户管理"> </el-tab-pane>
          <el-tab-pane label="配置管理">
            <h1>配置管理</h1>
          </el-tab-pane>
          <el-tab-pane label="角色管理">
            <h1>角色管理</h1>
          </el-tab-pane>
          <el-tab-pane label="定时任务补偿">
            <h1>定时任务补偿</h1>
          </el-tab-pane>
        </el-tabs>
      </div>
    </div>
    <div class="right">
      <el-tabs v-model="activeName">
        <el-tab-pane label="账户信息" name="first">
            <h1>账户信息</h1>
        </el-tab-pane>
        <el-tab-pane label="个人资料" name="second">
            <h1>个人资料</h1>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tabPosition: "left",
    };
  },
};
</script>
<style scoped>
.heard {
  /* position: absolute;
  left: 10px; */
  top: 10px;
  height: 70px;
  width: 160px;
  padding-top: 10px;
}
.img {
  width: 70px;
  height: 70px;
}
.username {
  padding-block: 20px;
  padding-left: 30px;
}
.left {
  float: left;
  padding-right: 10px;
}
.right {
  overflow: hidden;
  position: relative;
}
</style>